package com.insideClass.AnonymityInsideClass;

import com.insideClass.Generics.FourTuple;
import com.insideClass.Generics.GenericsInterface.Tuple;

import java.util.ArrayList;

/**
 * 构件复杂模型
 * @author 13699
 */
public class TupleList<A,B,C,D> extends ArrayList<FourTuple<A,B,C,D>> {
    public static void main(String[] args) {
        TupleList<Vehicle,Amphibian,String,Integer> tl=new TupleList<>();
        tl.add(TupleTest.h());
        tl.add(TupleTest.h());
        for (FourTuple<Vehicle,Amphibian,String,Integer> i:
             tl) {
            System.out.println(i);
        }
    }
}
